<?php

namespace Contacts\Model;

class ContactView
{
	public $id;
	public $fullname;
	public $jobtitle;
	public $mobilephone;
	

	public function exchangeArray($data)
	{
		$this->id     = (!empty($data['id'])) ? $data['id'] : null;
		$this->fullname = (!empty($data['fullname'])) ? $data['fullname'] : null;
		$this->jobtitle  = (!empty($data['jobtitle'])) ? $data['jobtitle'] : null;
		$this->mobilephone     = (!empty($data['mobilephone'])) ? $data['mobilephone'] : null;
		
	}
}